#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Experimental.Credit
{
    /// <summary> 
	/// ! Models of the recovery rate provide future values of a recovery rate in the event of a default.
	/// </summary>
    [Guid ("913F329F-5B1D-4fd8-B37D-01294C535579"),ComVisible(true)]
	public interface IRecoveryRateModel 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Boolean AppliesToSeniority(QL.Experimental.Credit.SeniorityEnum prm1);
        /// <summary> 
		/// 
		/// </summary>
		 Double RecoveryValue(DateTime defaultDate, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Experimental.Credit.IDefaultProbKey> defaultKey);
    }   

    /// <summary> 
	/// ! Models of the recovery rate provide future values of a recovery rate in the event of a default. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IRecoveryRateModel_Factory : INativeCollection_Factory<IRecoveryRateModel>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IRecoveryRateModel, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIRecoveryRateModel&gt</returns>
        IVector<IRecoveryRateModel> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IRecoveryRateModel, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIRecoveryRateModel&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IRecoveryRateModel>>> CreateCellVector();
        IVector<IRecoveryRateModel> CreateVector (IEnumerable<IRecoveryRateModel> source);
        ICoCell<IVector<ICoCell<IRecoveryRateModel>>> CreateCellVector (IEnumerable<ICoCell<IRecoveryRateModel>> source);
    }
}

